<?php

  
  $codeChecked='<?php if ($[php_property:var]["[php_property:field]"] == 1) echo "checked=checked";?>';
  
  /*$codeChecked='<?php if (isset($[php_property:var]["[php_property:field]"])) {if ($[php_property:var]["[php_property:field]"] == 1) echo "checked=checked";}?>';*/
  //$codeChecked = 'ddddddddddddddddd';

  //$item->outertext = re::regexReplace('(<input.*?)/>',$item->outertext, "$1 $codeChecked />");     
                    
   /*$codeChecked='<?php $a = '.$item->value.';if ($a == 1) echo "checked=checked";?>';*/
   $item->com = null;
   $item->outertext =re::regexReplace('(<input.*?)/>', $item->outertext, "$1 $codeChecked />");            
              
                    

                    
                    
?>